package cn.big.bigd.biocode.dao;

import cn.big.bigd.biocode.model.Publications;
import cn.big.bigd.biocode.model.Tool;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 *@Author wangfan
 *@Date 2017/12/4 12:59
 */


@Repository
public interface PublicationDAO extends JpaRepository<Publications, Integer>, JpaSpecificationExecutor<Tool> {


    Publications findByDoi(String doi);
}
